package com.chen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chen.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.vo.UserVO;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author chen
 * @since 2022-12-13
 */
public interface UserService extends IService<User> {

    Page<User> selectUserByPage(Page<User> page,UserVO userVO);

    List<User> selectUserList(UserVO userVO);

    /**
     * 导出用户Excel
     * @param response
     * @param userList
     * @throws IOException
     */
    void exportUserExcel(HttpServletResponse response, List<User> userList) throws IOException;
}
